package com.zoranjoka.chordis.hibernate;

import java.io.Serializable;
import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.zoranjoka.chordis.Artist;
import com.zoranjoka.chordis.beans.ArtistBean;

public interface IDataArtistService {
	
	
	public abstract List<ArtistBean> getAllArtists();

	public abstract Artist getArtistByName(Serializable id);
	
	@CommitAfter
	public abstract Artist addArtistBean(Artist ab);


}